package recite.word.service.base.common.threadLocal;

/**
 * @program: recite-word-back
 * @description:
 * @author: Mr.lin
 * @create: 2023-01-15 15:42
 **/

public class UserContent {
	public static ThreadLocal<Long> userLocal = new ThreadLocal<>();
	
	public static Long get(){
		return userLocal.get();
	}
	
	public static void set(Long userId){
		userLocal.set(userId);
	}
}
